package serviceimpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import Dao.departmentDao;
import entity.department;
import service.departmentService;
@Service
@Transactional(propagation = Propagation.REQUIRED)
public class departmentServiceImpl implements departmentService{
@Autowired
private departmentDao departmentDao;
	@Override
	public List<department> getAll() {
		// TODO Auto-generated method stub
		return departmentDao.getAll();
	}

}
